package com.study.manage.dto;

import org.apache.commons.lang3.StringUtils;

public class EmailDto {

    
	public static boolean checkPhoneCode(String sCode, String code) {
		
        if (StringUtils.isEmpty(code) || StringUtils.isEmpty(sCode) || !sCode.equals(code)) {
            return true;
        }
		return false;
	}

	public static boolean checkEmailCode(String eCode, String emailCode) {
		
		if (StringUtils.isEmpty(emailCode) || StringUtils.isEmpty(eCode) || !eCode.equals(emailCode)) {
			return true;
        }
		return false;
	}
	
}
